package simple.demo.springintegration.demo.chapter5;

import org.springframework.integration.Message;
import org.springframework.integration.handler.advice.AbstractRequestHandlerAdvice;

public class MessageBridgeAdvice extends AbstractRequestHandlerAdvice {

	@Override
	protected Object doInvoke(ExecutionCallback callback, Object target,
			Message<?> message) throws Exception {
		callback.execute();
		return message;
	}

}
